﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp4
{
    class Person
    {
        private int id;
        private string name;
        private char sex;
        private string cardId;
        private int tel;

        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }
        public int Id
        {
            get { return this.id; }
            set { this.id = value; }
        }
        public char Sex
        {
            get { return this.sex; }
            set { this.sex = value; }
        }
        public string CardId
        {
            get { return this.cardId; }
            set { this.cardId = value; }
        }
        public int Tel
        {
            get { return this.tel; }
            set { this.tel = value; }
        }


        public Person(int id, string name, char sex, string cardId, int tel)
        {
            this.id = id;
            this.name = name;
            this.sex = sex;
            this.cardId = cardId;
            this.tel = tel;

        }
 
}
}
